<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登陆页面</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/main.css" rel="stylesheet">
    <style>
        .login-container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        .login-image img {
            width: 300px; /* 放大图片 */
            height: auto;
        }
        .login-form {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 150px; /* 调整高度以适应两个输入框和按钮 */
        }
        .login-form h3 {
            margin-bottom: 20px;
        }
        .input-group {
            margin-bottom: 10px;
        }
        .input-group-btn {
            vertical-align: middle;
        }
        .btn-signin {
            height: 100%;
        }
    </style>
</head>
<body>
<div class="login-container">
    <div class="login-image">
        <img src="/static/niu.png" alt="Niu Logo">
    </div>
    <div class="login-form">
        <h3>登录</h3>
        <div class="input-group">
            <input type="text" id="inputUsername" class="form-control" placeholder="用户名" required autofocus>
            <span class="input-group-btn">
                <button class="btn btn-lg btn-primary btn-signin" type="submit">登&nbsp;陆</button>
            </span>
        </div>
        <div class="input-group">
            <input type="password" id="inputPassword" class="form-control" placeholder="密码" required>
        </div>
    </div>
</div>
<script src="/static/main.js"></script>
</body>
</html>
